package ui.activity.poscontrol.module;


import dagger.Module;
import dagger.Provides;
import ui.activity.poscontrol.biz.PosControlMainBiz;
import ui.activity.poscontrol.contract.PosControlMainContract;

/**
 * Created by chenjian on 19/2/26
 */
@Module
public class PosControlMainModule {
    private PosControlMainContract.View view;

    public PosControlMainModule(PosControlMainContract.View view) {
        this.view = view;
    }

    @Provides
    public PosControlMainContract.View provideView() {
        return view;
    }

    @Provides
    public PosControlMainBiz provideBiz() {
        return new PosControlMainBiz();
    }
}